<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="../vue.js"></script>
</head>

<body>
    <div id="app" v-html="htm">hhhh</div>
    <div id="vueOn">
        <input type="text" v-bind:placeholder="name"></input>
        <img :src="http" alt="" style="width: 200px;">
    </div>
    <script>
        const vm = new Vue({
            el: '#app',
            data: {
                name: '你好',
                htm: '<a href="https://www.baidu.com">百度</a>'
            }
        })
        const vueOn = new Vue({
            el: '#vueOn',
            data: {
                name: '原谅你了',
                http: "https://ts1.cn.mm.bing.net/th/id/R-C.083198676b55ce2395c8e90c83603fd1?rik=kicqWHL3pWY0VQ&riu=http%3a%2f%2fn.sinaimg.cn%2fsinacn10100%2f72%2fw1024h1448%2f20190713%2fda1a-hzuhxyn6993711.jpg&ehk=8IOrVQTzhqzNoWKgeHVu%2ftyLMS5v3SDtzMA3TdoPmEU%3d&risl=&pid=ImgRaw&r=0"
            }
        })
    </script>
</body>

</html>